package com.dqx.haoqiu.mvp.module.user;

import com.dqx.haoqiu.repository.entity.NewsEntity;
import com.dqx.haoqiu.repository.entity.UserEntity;
import com.xmjs.baselibrary.base.IBasePresenter;
import com.xmjs.baselibrary.base.IBaseView;

import java.util.List;

public interface UserContract {

    interface Presenter extends IBasePresenter {
        void getUserInfo();

        void getNews(int channel, int page, int page_size, long currentTime, int category);
    }

    interface View extends IBaseView {
        void showUserInfo(UserEntity entity);

        void showNews(List<NewsEntity> entities);
    }
}